package com.hkts.naturalgas.curvesettings.service;

import com.baomidou.mybatisplus.extension.plugins.pagination.Page;
import com.baomidou.mybatisplus.core.metadata.IPage;
import com.hkts.naturalgas.curvesettings.entity.CurveState;
import com.baomidou.mybatisplus.extension.service.IService;

import java.util.List;
import java.util.Map;

/**
 * <p>
 * 服务类
 * </p>
 *
 * @author yck
 * @since 2021-10-12
 */
public interface ICurveStateService extends IService<CurveState> {

    /**
     * 分页查询
     *
     * @param bootStrapTable
     * @param curveState
     * @return
     */
    IPage<CurveState> selectPage(Page<CurveState> page, CurveState curveState);

    List<CurveState> selectList(CurveState curveState);

    List<CurveState> selectListById();
    Map<String,CurveState> curveStateMap();
}